import request from '@/util/ajax.js'

export function getChestGroupsByChestAPI(reqData) {
  return request({
    url: '/back_front/chests_chestGroups/getChestGroupsByChestService',
    method: 'get',
    params: reqData
  })
}

export function getChestsAndStationsByChestGroupAPI(reqData) {
  return request({
    url: '/back_front/chests_chestGroups/getChestsAndStationsByChestGroupService',
    method: 'get',
    params: reqData
  })
}

export function changeChestGroupsByChestAPI(reqData) {
  return request({
    url: '/back_front/chests_chestGroups/changeChestGroupsByChestService',
    method: 'post',
    data: reqData
  })
}

export function changeChestsByChestGroupAPI(reqData) {
  return request({
    url: '/back_front/chests_chestGroups/changeChestsByChestGroupService',
    method: 'post',
    data: reqData
  })
}
